﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:local="clr-namespace:SomethingSpacial"
	x:Class="SomethingSpacial.controlVideoChat"
        xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
     xmlns:vm="clr-namespace:SomethingSpacial.ViewModel"
	d:DesignWidth="465" d:DesignHeight="502" UseLayoutRounding="False">
    <UserControl.DataContext>
        <vm:EventFeedbackViewModel  />
    </UserControl.DataContext>
    <Grid x:Name="LayoutRoot" Margin="-6,0,6,0">
		<Canvas x:Name="Chat_Window" Margin="-16,0,16,0">
			<TextBlock x:Name="textBlockChatHeader" Foreground="#FFFFFFFF" FontWeight="Bold" FontSize="24" FontFamily="HelveticaNeue-Thin" LineStackingStrategy="BlockLineHeight" Canvas.Left="362" LineHeight="24" TextAlignment="Left" TextWrapping="Wrap" Text="CHAT" Canvas.Top="0"/>
			<Path x:Name="backGroundChat" Data="F1M309.5,4.5C309.5,4.5 309.5,472.5 309.5,472.5 309.5,474.157 308.157,475.5 306.5,475.5 306.5,475.5 4.5,475.5 4.5,475.5 2.843,475.5 1.5,474.157 1.5,472.5 1.5,472.5 1.5,4.5 1.5,4.5 1.5,2.843 2.843,1.5 4.5,1.5 4.5,1.5 306.5,1.5 306.5,1.5 308.157,1.5 309.5,2.843 309.5,4.5z" Fill="#FF9B9B9F" Height="477" Canvas.Left="201" Opacity="0.831" Canvas.Top="25" Width="230" Stretch="Fill">
				<Path.Effect>
					<DropShadowEffect BlurRadius="24" Color="#FF000000" Direction="-60" Opacity="0.75" ShadowDepth="0"/>
				</Path.Effect>
			</Path>
			<local:controlChatText x:Name="controlTextBox" Height="74" Canvas.Left="92" Canvas.Top="437" Width="355"/>
			<Canvas x:Name="canvasChatList" Height="360" Canvas.Left="140" Canvas.Top="33" Width="284"/>
			<Canvas x:Name="canvasAllIcons" Height="195" Canvas.Top="295" Width="162" Canvas.Left="27">
				<Canvas x:Name="canvasChatIcons" Height="64" Canvas.Left="6" Canvas.Top="129" Width="143">
					<Path x:Name="Shape_8" Data="F1M8,2C8,2 57,2 57,2 60.314,2 63,4.686 63,8 63,8 63,57 63,57 63,60.314 60.314,63 57,63 57,63 8,63 8,63 4.686,63 2,60.314 2,57 2,57 2,8 2,8 2,4.686 4.686,2 8,2z" Height="64" Canvas.Left="56" Width="64">
						<Path.Fill>
							<SolidColorBrush Color="#FF9B9B9F" Opacity="0.949"/>
						</Path.Fill>
					</Path>
					<Image x:Name="Layer_103" Height="3" Canvas.Left="132" Source="FINAL_Presentation Room_Images/Layer 103.png" Canvas.Top="59" Width="5"/>
					<Image x:Name="Layer_116" Height="29" Source="FINAL_Presentation Room_Images/Layer 116.png" Canvas.Top="12" Width="31"/>
					<Image x:Name="Layer_117" Height="37" Canvas.Left="28" Source="FINAL_Presentation Room_Images/Layer 117.png" Canvas.Top="27" Width="38"/>
				</Canvas>
				<Image x:Name="Layer_105" Source="FINAL_Presentation Room_Images/Layer 105.png" HorizontalAlignment="Left" Height="195" Stretch="Fill" VerticalAlignment="Top" Width="162" Canvas.Left="-25">
					<Image.OpacityMask>
						<ImageBrush ImageSource="FINAL_Presentation Room_Images/Layer 105 (Layer Mask).png" Stretch="Uniform"/>
					</Image.OpacityMask>
				</Image>
			</Canvas>
		</Canvas>

        <Canvas x:Name="canvasFeedbackList" Margin="-8,0,8,0">

            <data:DataGrid x:Name="gridFeedback" Height="385" Width="212" IsReadOnly="True" AutoGenerateColumns="False" HorizontalAlignment="Left" 
        			HorizontalScrollBarVisibility="Disabled"   VerticalAlignment="Top"   ItemsSource="{Binding EventFeedback}" HeadersVisibility="None" Canvas.Top="34" Canvas.Left="204" Background="#FF848488" AlternatingRowBackground="#FFC4C4C4" BorderBrush="{x:Null}"                                               
    				>
                <data:DataGrid.Columns>
                    <data:DataGridTemplateColumn Width="200">

                        <data:DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <StackPanel Orientation="Vertical" Width="190" Margin="0,0,0,20">
                                    <TextBlock Text="{Binding EFB_FeedbackType}" 
        									Foreground="White"
        									FontWeight="Normal"
        									TextWrapping="Wrap"
        									Width="auto"
											FontSize="10"
        									HorizontalAlignment="Left" 
        									VerticalAlignment="Top" />

                                    <TextBlock Text="{Binding EFB_FeedbackContent}" 
        									Foreground="Black"
        									FontWeight="Normal"
        									Width="150"
											FontSize="10"
        									TextWrapping="Wrap"
        									HorizontalAlignment="Left" />

                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >

                                        <TextBlock Text="{Binding EFB_UserID}" 
        										Foreground="White" 
        										FontWeight="Bold"
												FontSize="10"
        										HorizontalAlignment="Left" />

                                        <TextBlock Text="{Binding EFB_DateTime}" 
        										Foreground="DarkBlue" 
        										FontWeight="Bold"
												FontSize="10"
        										HorizontalAlignment="Left" />
<Canvas>
<Path Data="M141,105 L358,105" Fill="#FFFBF9F9" Height="4" Canvas.Left="0" Stretch="Fill" Stroke="White" Canvas.Top="5" Width="218"/>
</Canvas>
                                    </StackPanel>

                                </StackPanel>
                            </DataTemplate>
                        </data:DataGridTemplateColumn.CellTemplate>
                    </data:DataGridTemplateColumn>
                </data:DataGrid.Columns>
            </data:DataGrid>
            
        </Canvas>
    </Grid>
</UserControl>